<p>Use this box to change the the photo or the caption. If you just want to change the caption leave the filename field blank If you just want to change the file leave the caption field blank.</p>
<p>Close the window to cancel.</p>
<form action="{$editFormAction}" method="post" enctype="multipart/form-data" name="form" id="form">
  <div class="current">Current Picture: <img src="../thumbnail.php?pic={$photo.ID}" /></div> 
    New Filename: 
    <input name="files" type="file" size="40" maxlength="255" class="inputbox" />  
    <br /><br />
  <div class="current">Current Caption: {$photo.caption}</div>
    New Caption: 
    <input name="caption" type="text" id="caption" size="60" maxlength="100" class="inputbox" />
  <p align="center">
    <input type="submit" name="Submit" value="Submit" class="button" />
    <input type="button" name="Submit2" value="Cancel" class="button" onclick="javascript:window.close();" />
  </p>
</form>
